package cn.e2win.base.controller;

public class MyException extends Exception{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String msg;
	private Exception exception;
	
	public MyException(){
		super();
	}
		
	public MyException(String msg){
		this.msg = msg;
	}

	public MyException(String msg, Exception exception) {
		super();
		this.msg = msg;
		this.exception = exception;
	}


	public void setMsg(String msg) {
		this.msg = msg;
	}
	public String getMsg() {
		return msg;
	}

	
	public Exception getException() {
		return this.exception;
	}

	
	public void setException(Exception exception) {
		this.exception = exception;
	}
	
	

}
